package service;

import util.ReturnResultUtil;
import view.ImportView;
import view.QueryView;

import java.util.List;

/**
 * Created by gable on 2018/5/23.
 */
public interface ExcelService {

    /**
     * @Author: 杨青桦
     * @Description:  保存数据
     * @Date: 2018/5/23 17:13
     * @param queryView
     * @param list
     * @return
     */
    ReturnResultUtil save(QueryView queryView, List<ImportView> list);

    /**
     * @Author: 杨青桦
     * @Description:  删除错误的导入数据
     * @Date: 2018/5/23 16:33
     * @param queryView
     * @return
     */
    ReturnResultUtil deleteRepeatData(QueryView queryView);
}
